package com.timi_licai.timi_licai_account.utils;

import com.timi_licai.timi_licai_account.model.SampleModel;

import java.util.Comparator;

/**
 * Created by licheng  on 2015/3/11.
 * email 635408136@qq.com
 */


public class DateComparator implements Comparator<SampleModel> {

    @Override
    public int compare(SampleModel lhs, SampleModel rhs) {
        return rhs.getDate().compareTo(lhs.getDate());
    }


}
